package cn.ds.assets.module.assets.convert.metadataModelBase;

import java.util.*;

import cn.ds.assets.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.ds.assets.module.assets.controller.admin.metadataModelBase.vo.*;
import cn.ds.assets.module.assets.dal.dataobject.metadataModelBase.BaseMetadataModelBaseDO;

/**
 * 元数据管理-元模型-基础属性 Convert
 *
 * @author admin
 */
@Mapper
public interface BaseMetadataModelBaseConvert {

    BaseMetadataModelBaseConvert INSTANCE = Mappers.getMapper(BaseMetadataModelBaseConvert.class);

    BaseMetadataModelBaseDO convert(BaseMetadataModelBaseCreateReqVO bean);

    BaseMetadataModelBaseDO convert(BaseMetadataModelBaseUpdateReqVO bean);

    BaseMetadataModelBaseRespVO convert(BaseMetadataModelBaseDO bean);

    List<BaseMetadataModelBaseRespVO> convertList(List<BaseMetadataModelBaseDO> list);

    PageResult<BaseMetadataModelBaseRespVO> convertPage(PageResult<BaseMetadataModelBaseDO> page);

    List<BaseMetadataModelBaseExcelVO> convertList02(List<BaseMetadataModelBaseDO> list);

}
